package com.metier;


public class Borne {
	private int idBorne;
	private String etat;
	private String dateMiseEnService;
	private int idStation;
	private TypeCharge type;
	public Borne(int idBorne, String dateMiseEnService,int idStation, TypeCharge type) {
		super();
		this.dateMiseEnService = dateMiseEnService;
		this.setIdStation(idStation);
		etat = "ES";
		this.idBorne = idBorne;
		this.type = type;
	}
	public Borne(String dateMiseEnService,int idStation, TypeCharge type) {
		super();
		this.dateMiseEnService = dateMiseEnService;
		this.setIdStation(idStation);
		etat = "ES";
		this.type = type;
	}
	public int getIdBorne() {
		return idBorne;
	}
	public String getEtat() {
		return etat;
	}
	public String getDateMiseEnService() {
		return dateMiseEnService;
	}
	public void setDateMiseEnService(String dateMiseEnService) {
		this.dateMiseEnService = dateMiseEnService;
	}
	/**
	 * @return the idStation
	 */
	public int getIdStation() {
		return idStation;
	}
	/**
	 * @param idStation the idStation to set
	 */
	public void setIdStation(int idStation) {
		this.idStation = idStation;
	}
	public TypeCharge getType() {
		return type;
	}
	public void setType(TypeCharge type) {
		this.type = type;
	}
	public String ToString() {
		return "idBorne : "+ idBorne + " date : " + dateMiseEnService+"IdStation : "+idStation + " TypeCharge : " + type.toString();
	}
}
